package com.ruoyi.syf.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.ruoyi.syf.common.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

@Data
@EqualsAndHashCode(callSuper = true)
@ApiModel(value = "上报配置")
public class EscalationConfig extends BaseEntity {
    private static final long serialVersionUID = 1L;

    @TableId(type = IdType.AUTO)
    @ApiModelProperty(value="ID")
    private Long id;

    @ApiModelProperty(value="参数名")
    private String configKey;

    @ApiModelProperty(value="参数值")
    private String configValue;

    @ApiModelProperty(value="备注")
    private String remarks;

    @ApiModelProperty(value="启用状态")
    private Boolean state;

    @ApiModelProperty(value = "配置类型（0通用,1http，2TCPSocket）")
    private String type;

    @ApiModelProperty(value = "排序（升序）")
    private Integer sortOrder;

}
